using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Thaire.Investment.Domains.Master
{
   
    public class AssetClass 
    {
        #region Properties
              // ASSET_CLASS_ID
        public virtual int AssetClassID { set; get; }
      // FINANCIAL_INSTRUMENTS_REFERENCE_CODE_ID
        public virtual int? FinancialInstrumentsReferenceCodeID { set; get; }
      // ASSET_CLASS_EN
        public virtual String AssetClassEN { set; get; }
      // ASSET_CLASS_TH
        public virtual String AssetClassTH { set; get; }

        #endregion

        

        public override bool Equals(object obj)
        {
            if(obj == null)
                return false;
            if(obj.GetType() != typeof(AssetClass) && !(obj is AssetClass))
                return false;
            return ToString().Equals(obj.ToString());
        }

        public override int GetHashCode()
        {
            return ToString().GetHashCode();
        }

        public override string ToString()
        {
            return string.Format("{0}",AssetClassID);
        }

    }


}